import type { CategoryItem } from '@/indexDB/index'


// ----------海外新兴开始 id:19-26------

/**
 * 海外新兴-科技
 * 父id: 20;
 * id: 21-22;
 */
export const TECH_LIST: CategoryItem[] = [
  {
    id: 20,
    parentId: 19,
    name: '海外科技',
    code: 'technology',
    parentCode: 'overseas-new',
    level: 2,
  },
  {
    id: 21,
    parentId: 20,
    level: 3,
    parentCode: 'technology',
    name: '海外互联',
    code: 'internet'
  },
  {
    id: 22,
    parentId: 20,
    level: 3,
    parentCode: 'technology',
    name: '恒生科技',
    code: 'h-tech'
  }
]

/**
 * 海外新兴-香港
 * 父id: 23;
 * id: 24;
 */
export const HONGKONG_LIST: CategoryItem[] = [
  {
    id: 23,
    parentId: 19,
    name: '香港',
    code: 'hong kong',
    parentCode: 'overseas-new',
    level: 2,
  },
  {
    id: 24,
    parentId: 23,
    level: 3,
    parentCode: 'hong kong',
    name: '恒生',
    code: 'hs'
  }
]

/**
 * 海外新兴-医疗
 * 父id: 25;
 * id: 26;
 */
export const OVERSEAS_MEDICAL: CategoryItem[] = [
  {
    id: 25,
    parentId: 19,
    name: '海外医疗',
    code: 'overseas-medical',
    parentCode: 'overseas-new',
    level: 2,
  },
  {
    id: 26,
    parentId: 25,
    level: 3,
    parentCode: 'overseas-medical',
    name: '恒生医疗',
    code: 'hs-medical'
  }
]

export const OVERSEAS_NEW_LIST: CategoryItem[] = [
  {
    id: 19,
    name: '海外新兴市场',
    code: 'overseas-new',
    level: 1,
  },
  ...TECH_LIST,
  ...HONGKONG_LIST,
  ...OVERSEAS_MEDICAL
]

// ----------海外新兴结束 id:19-26------
